/**
 * Created by John on 2016/3/8.
 */
$(function(){
    $(".grainSelect-p span:nth-child(1)").addClass("grainSelect-span-color");
    $(".grainSelect-p span").click(function(){
           $(".grainSelect-p span").removeClass("grainSelect-span-color");
           $(this).addClass("grainSelect-span-color");
    });

})